* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

body {
  background-image: url('p4\ \(1\).jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Logo */
#port {
  color: white;
  margin: 12px 0 0 18px;
  background: transparent;
  font-size: 25px;
  font-weight: 600;
  cursor: pointer;
}

/* --- Navigation --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 20px;
}

.navbar ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  list-style-type: none;
}

.navbar li {
  color: white;
}

ul a {
  font-weight: bold;
  text-decoration: none;
  color: white;
  transition: 0.3s;
}



.navbar a:hover {
  color: rgb(255, 208, 0);
  font-size: 18px;
  cursor: pointer;
}

.active a {
  color: rgb(255, 196, 0);
}

/* --- Menu Toggle for Mobile --- */
.menu-toggle {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
  margin-right: 20px;
}

/* --- Intro Section Layout --- */
main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 80px auto;
  width: 90%;
  max-width: 1200px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  border-radius: 30px;
  border: 1px solid rgba(225, 225, 225, 0.18);
  background: rgba(225, 225, 225, 0);
  backdrop-filter: blur(10px);
  animation: fadeIn 3s ease-in;
}

/* Text Block */
#intro {
  flex: 1 1 400px;
  padding: 20px;
  color: white;
}

#intro h1 {
color: rgb(255, 196, 0);
 margin-bottom: 10px;
}

#intro h3 {
  color: white;
  
}

#intro p {
  color: white;
  margin-top: 10px;
  line-height: 1.5;
}

#intro #btn {
  display: inline-block;
  margin-top: 30px;
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  border: 1px solid rgba(225, 225, 225, 0.1);
  background: rgba(225, 225, 225, 0);
  backdrop-filter: blur(10px);
  cursor: pointer;
  text-decoration: none;
  animation: grow 3s ease-in-out infinite;
  transition: all 0.3s ease-in-out;
}

#intro #btn:hover {
  box-shadow: 3px 3px 6px rgb(255, 196, 0);
  font-size: 18px;
  color: rgb(255, 208, 0);
}

/* Social Icons */
#icon a {
  margin-right: 15px;
  color: white;
  transition: all 0.3s ease-in-out;
}

#icon a:hover {
  color: rgb(255, 187, 0);
  transform: scale(1.1);
}

.fa-x-twitter {
  color: hsl(230, 23%, 95%);
}

/* Image Section */
#img img {
  width: 450px;
  max-width: 100%;
  border-radius: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  border: 1px solid rgba(225, 225, 225, 0.18);
  margin: 20px;
  animation: grow 3s ease-in-out infinite;
}

#contact {
  padding: 40px;
  max-width: 700px;
  margin: auto;
  text-align: center;
}

.contact-info p {
  font-size: 18px;
  margin: 10px 0;
}

.contact-info a {
  color: hsl(0, 0%, 100%);
  text-decoration: none;
}
.contact-info a:hover {
  color: hsl(236, 100%, 60%);
  font-size:19px;
 
}


.contact-info i {
  color: hsl(46, 100%, 50%);
  margin-right: 10px;
}

.contact-form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  width: 100%;
  color: white;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  border: 1px solid rgba(225, 225, 225, 0.18);
  background: rgba(225, 225, 225, 0);
  backdrop-filter: blur(10px);
  animation: fadeIn 3s ease-in;
}

.contact-form input:focus{
  outline: none;
  box-shadow: 0 0 10px cyan;
  transition: box-shadow 0.3s ease-in-out;}

.contact-form textarea:focus{
  outline: none;
  box-shadow: 0 0 10px cyan;
  transition: box-shadow 0.3s ease-in-out;}

.contact-form button {
  background-color: rgb(255, 196, 0);
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

.contact-form button:hover {
  background-color: hsl(46, 100%, 60%);
  font-size:18px;
  color:blue;
}

/*========== portfolio page====*/

#portfolio {
  padding: 40px;
  max-width: 1100px;
  margin: auto;
  color:white;
}

.project-grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
 

}

.project-card {
  width:80%;
  border: 2px solid rgba(225, 225, 225, 0.18);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  background: rgba(225, 225, 225, 0);
  backdrop-filter: blur(10px);
  transition: 0.3s ease;
}

.project-card:hover {
  transform: scale(1.03);
  border-color: #000;
}

.project-card h3 {
  margin-bottom: 10px;
}

.project-card a {
  text-decoration: none;
  color: #007bff;
  margin: 0 5px;
}

/*========thankyou page=====*/

.thank-you-container {
  max-width: 600px;
  margin: 100px auto;
  text-align: center;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  border-radius: 30px;
  border: 1px solid rgba(225, 225, 225, 0.18);
  background: rgba(225, 225, 225, 0);
  backdrop-filter: blur(10px);
  animation: fadeIn 3s ease-in;
}

.thank-you-container h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.thank-you-container p {
  font-size: 18px;
  margin-bottom: 20px;
}

.back-home {
  display: inline-block;
  padding: 10px 20px;
  background-color: #222;
  color: white;
  border-radius: 8px;
  text-decoration: none;
}

.back-home:hover {
  background-color: #444;
}



/* --- Animations --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes grow {
  50% { transform: scale(1.02); }
}

/* --- Mobile View (iPhone 14 Pro & under 768px) --- */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  .navbar ul.show {
    display: flex;
  }

  main {
    flex-direction: column;
    margin: 40px auto;
  }

  #intro, #img {
    width: 100%;
    text-align: center;
    padding: 0 10px;
  }

  #intro h1, #intro h3, #intro p {
    text-align: center;
  }

  #img img {
    margin: 0 auto;
    width: 90%;
  }
  #intro, #btn{
      margin:5px;
    }
}
